package org.dromara.business.modules.searchHistory.service;

import org.dromara.business.modules.searchHistory.domain.bo.BuSearchHistoryBo;
import org.dromara.business.modules.searchHistory.domain.vo.BuSearchHistoryVo;
import org.dromara.business.modules.searchHistory.domain.vo.SearchHistoryVo;
import org.dromara.business.modules.searchHistory.domain.vo.SearchVo;
import org.dromara.common.mybatis.core.page.PageQuery;
import org.dromara.common.mybatis.core.page.TableDataInfo;

/**
 * 用户搜索历史记录Service接口
 *
 * @author ckk
 * @date 2025-11-10
 */
public interface IBuSearchHistoryService {

    /**
     * 分页查询用户搜索历史记录列表
     *
     * @param bo        查询条件
     * @param pageQuery 分页参数
     * @return 用户搜索历史记录分页列表
     */
    TableDataInfo<BuSearchHistoryVo> queryPageList(BuSearchHistoryBo bo, PageQuery pageQuery);

    TableDataInfo<SearchHistoryVo> hotSearch(PageQuery pageQuery);

    TableDataInfo<SearchVo> search(String keyword, PageQuery pageQuery);

}
